home *** CD-ROM | disk | FTP | other *** search
/ PC Graphics Unleashed / PC Graphics Unleashed.iso / ch18 / rtrace / header.h < prev    next >
Text File  |  1992-03-27  |  1KB  |  42 lines

  1. eye X (2 * X) (1.5 * X)
  2. at 0 0 0
  3. up 0 1 0
  4. fov 25
  5. ambient mono 0.15
  6. background light_sky_blue
  7. light spot X X (X / 4) -X -X -(X /4) mono 0.8 60 1.5
  8. light spot (X / 4) X X -(X / 4) -X -X 0.6 0.6 0.8 60 1.5
  9. #define RAD 0.3
  10. #define s0 surface matte white data
  11. #define s1 surface matte blue data
  12. #define s2 surface matte green data
  13. #define s3 surface matte cyan data
  14. #define s4 surface matte red data
  15. #define s5 surface matte magenta data
  16. #define s6 surface matte yellow data
  17. #define s7 surface matte pink data
  18. #define s8 surface matte brown data
  19. #define s9 surface matte orange data
  20. #define s10 surface matte coral data
  21. #define s11 surface matte yellow_green data
  22. #define s12 surface matte maroon data
  23. #define s13 surface matte khaki data
  24. #define s14 surface matte plum data
  25. #define s15 surface matte sienna data
  26. % add more if needed...
  27. quadrangle
  28. surface plastic 0.1 0.4 0.1 mono 0.5 0.5
  29. transform scale 100
  30. transform translate -X -X -X
  31. data 1 0 1 1 0 -1 -1 0 -1 -1 0 1
  32. quadrangle
  33. surface plastic 0.1 0.1 0.6 mono 0.6 0.6
  34. transform scale 100
  35. transform translate -X -X -X
  36. data 0 1 1 0 -1 1 0 -1 -1 0 1 -1
  37. quadrangle
  38. surface plastic 0.6 0.1 0.1 mono 0.7 0.7
  39. transform scale 100
  40. transform translate -X -X -X
  41. data 1 1 0 -1 1 0 -1 -1 0 1 -1 0
  42.